<%= form_tag signup_path do %>
  <% if local_assigns.include?(:redirect) %>
    <%= hidden_field_tag :redirect, redirect %>
  <% end %>
  <%= label_tag :email, "Your email" %>
  <br>
  <%= text_field_tag :email, params[:email] %>
  <br>
  <%= label_tag :email_confirmation, "Confirm your email" %>
  <br>
  <%= text_field_tag :email_confirmation, params[:email_confirmation] %>
  <br>
  <%= label_tag :password, "Choose a password" %>
  <br>
  <%= password_field_tag :password %>
  <br>
  <%= submit_tag "Sign Up" %>
<% end %>
